using System;
using System.IO;
using System.Reflection;
using System.Collections.Generic;

using Heaven.Graphics;
using Heaven.Engine.Animation;
using Heaven.Mathematics;
using Heaven.Texturing;


namespace Heaven.Engine
{
    /// <summary>
    /// This is a class of the default technique.
    /// It is useful for stuff which does not 
    /// required particular visualisation
    /// </summary>
    public class DefaultTechnique : Technique
    {
        #region Fields

        static string hlslcode = null;

        #endregion

        #region Properties

        
        #endregion

        #region Initialization

        /// <summary>
        /// Constructor
        /// </summary>
        static DefaultTechnique()
        {
            using (Stream stream = Assembly.GetExecutingAssembly().GetManifestResourceStream("Heaven.Engine.Resources.Shaders.Default.fx"))
            {
                StreamReader reader = new StreamReader(stream);
                hlslcode = reader.ReadToEnd();
            }
        }

        /// <summary>
        /// Constructor
        /// </summary>
        public DefaultTechnique()
        {            
             shader = new Shader(hlslcode);
        }

        #endregion

        #region Methods



        #endregion
    }
}
